package models

import (
	"github.com/goravel/framework/database/orm"
	"goravel/app/models/common"
)

type Protorule struct {
	orm.Model
	RuleType  string        `gorm:"column:rule_type" form:"rule_type" json:"rule_type"`
	Rate      int           `gorm:"column:rate" form:"rate" json:"rate"`
	Rules     common.Params `gorm:"column:rules" form:"rules" json:"rules"`
	ReadcmdID uint          `gorm:"column:readcmd_id" form:"readcmd_id" json:"readcmd_id"`
}
